import cv2
import  imgShow.Img as imgShow

img = cv2.imread('1.jpg')
new_img = cv2.Sobel(img, cv2.CV_64F, 1, 0, ksize=3)
imgShow.cv_show(new_img, 'new_img')